# Contributor: Dmitry Romanenko <dmitry@romanenko.in>
# Maintainer: Dmitry Romanenko <dmitry@romanenko.in>
pkgname=py3-k5test
_pkgname=k5test
pkgver=0.9.2
pkgrel=3
pkgdesc="A library for testing Python applications in self-contained Kerberos 5 environments"
url="https://github.com/pythongssapi/k5test"
arch="noarch"
license="MIT"
depends="python3 py3-six krb5-dev"
makedepends="py3-setuptools"
options="!check" # Package doesn't have tests
source="https://files.pythonhosted.org/packages/source/k/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="fa32d5baf36cf76dd8cef09b7bb8d5c7ce363f80a4112aaf76b2196c7e1c3b8318d8f7f1fa5a1968f670611ea331366c7cae948c1695a2de9c0fbc25248eab16  k5test-0.9.2.tar.gz"
